* {
  margin: 0;
  padding: 0;
}

.box {
  .top {
    .tit {
      display: flex;
      justify-content: space-between;
      width: 80%;
      margin: 0 auto;
      align-items: center;

      .tit-left {
        img {
          width: 120px;
          height: 50px;
        }
      }

      .tit-right {
        display: flex;
        align-items: center;

        img {
          width: 35px;
          height: 35px;
        }

        div {
          color: #445d78;
          margin-left: 10px;
        }
      }
    }

    // 导航条
    .nav {
      z-index: 999;
      position: relative;

      .nav1 {
        width: 80%;
        height: 50px;
        margin: auto;
        line-height: 20px;
        text-align: center;
        transform: skewX(-20deg);
        color: #fff;
        border-radius: 2px;
        background-color: #202f32;
        display: flex;

        .nav1-1 {
          width: 20%;
          line-height: 50px;

          &:hover {
            background-color: #415b76;
            transform: scale(1.2);
            transform: translate(0, -1px);
          }

          a {
            color: #fff;
            text-decoration: none;
          }
        }
      }
    }

    // 轮播图
    .swiper {
      height: 600px;
      width: 100%;
      margin-top: -50px;
    }
  }

  // 内容
  .content {

    // 网站服务
    .wf-service {
      width: 80%;
      margin: auto;
      margin-top: 25px;

      .wf-service__title {
        width: 100%;
        text-align: center;
        font-size: 20px;
      }

      .wf-service__content {
        width: 100%;
        text-align: center;
        margin-top: 10px;
      }

      .wf-service__img {
        width: 80%;
        margin: auto;
        margin-top: 25px;
        display: flex;
        justify-content: space-between;

        .wf-service__img__item {
          width: 15%;
          transition: transform 0.3s ease;
          /* 平滑过渡效果 */
          transform: scale(1);

          /* 初始缩放比例 */
          &:hover {
            box-shadow: 0 0 5px black;
            transform: scale(1.07);

            /* 鼠标经过时的缩放比例 */
            .img1 {
              display: none;
            }

            .img2 {
              display: block;
            }

            .img3 {
              color: #7ee4ff;
            }

            .line {
              display: block;
            }
          }

          .img3 {
            margin-top: 15px;
            color: #415b76;
          }

          .line {
            width: 20%;
            margin: auto;
            display: none;
            margin-top: 5px;
            margin-bottom: 15px;
            border-bottom: 5px solid #7ee4ff;
          }

          .img1 {
            width: 95px;
            margin: auto;
            height: 95px;
            margin-top: 15px;

            img {
              width: 100%;
              height: 100%;
            }
          }

          .img2 {
            width: 95px;
            margin: auto;
            height: 95px;
            margin-top: 15px;
            display: none;

            img {
              width: 100%;
              height: 100%;
            }
          }
        }

        .img1 {
          width: 50%;
          height: 95px;

          img {
            img {
              width: 100%;
              height: 100%;
            }
          }

          .img2 {
            width: 95px;
            margin: auto;
            height: 95px;
            display: none;

            img {
              width: 100%;
              height: 100%;
            }
          }
        }

        .img1 {
          width: 50%;
          height: 95px;

          img {
            width: 100%;
            height: 100%;
          }
        }

        .img2 {
          width: 50%;
          height: 95px;
          display: none;

          img {
            width: 100%;
            height: 100%;
          }
        }

        .img3 {
          width: 100%;
          text-align: center;
        }
      }
    }

    // 私人定制
    .customize {
      width: 80%;
      margin: auto;
      text-align: center;
      margin-top: 50px;

      .title1 {
        font-size: 20px;
      }

      .title2 {
        font-size: 15px;
        margin-top: 10px;
      }

      .an-box {
        width: 80%;
        margin: auto;
        margin-top: 25px;

        .an-box1 {
          display: flex;
          justify-content: space-between;

          .an-item {
            width: 24%;
            transform: transform 0.3s ease;
            transform: scale(1);

            &:hover {
              transform: scale(1);
              box-shadow: 0 0 5px #888;

              .an-item-text {
                display: block;
              }
            }

            .an-item_img {
              width: 100%;
              height: 300px;

              img {
                width: 100%;
                height: 100%;
              }
            }

            .an-item-text {
              width: 100%;
              height: 300px;
              align-items: center;
              display: none;
              position: absolute;
              top: 0;
              z-index: 999;
              background-color: rgba(40, 61, 84, 0.8);
              color: white;

              .an-t {
                width: 100%;
                padding-top: 180px;
                text-align: center;
                font-size: 20px;

                span {
                  font-size: 15px;
                }
              }
            }
          }
        }
      }
    }

    // 经典案例
    .case-box {
      background-color: #fafafa;

      .case {
        width: 80%;
        margin: auto;
        text-align: center;
        margin-top: 50px;
        padding-top: 30px;

        .title1 {
          font-size: 20px;
        }

        .title2 {
          font-size: 15px;
          margin-top: 10px;
        }

        .case-item {
          width: 80%;
          margin: auto;
          margin-top: 30px;

          .case-top {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .left {
              width: 50%;
              padding-right: 20px;

              .title {
                font-size: 20px;
              }

              .line {
                margin: 10px 0;
                width: 8%;
                height: 5px;
                background-color: #6b7f93;
                margin-left: 46%;
              }

              .text {
                text-align: left;
                line-height: 30px;
              }
            }

            .right {
              width: 50%;

              .img {
                width: 100%;

                img {
                  width: 100%;
                  height: 260px;
                }
              }
            }
          }

          .case-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .left {
              width: 50%;
              padding-left: 20px;

              .title {
                font-size: 20px;
              }

              .line {
                margin: 10px 0;
                width: 8%;
                height: 5px;
                background-color: #6b7f93;
                margin-left: 46%;
              }

              .text {
                text-align: left;
                line-height: 30px;
              }
            }

            .right {
              width: 50%;

              .img {
                width: 100%;

                img {
                  width: 100%;
                  height: 260px;
                }
              }
            }
          }
        }
      }
    }
  }

  // 底部
  .foot {
    margin-top: 30px;

    .foot-box {
      .foot-box-top {
        background-color: #415b76;
        padding: 20px 0;

        .foot-box-top1 {
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 80%;
          margin: auto;

          .foot-left {
            .left-item {
              color: #fff;
              line-height: 40px;
            }
          }

          .foot-right {
            .img {
              width: 100%;

              img {
                width: 100%;
              }
            }

            .text {
              text-align: center;
              color: #fff;
              margin-top: 10px;
            }
          }
        }
      }

      .foot-box-bottom {
        border-top: 1px solid #fff;
        background-color: #243d56;
        text-align: center;

        .text {
          color: #fff;
          padding: 10px 0;
        }
      }
    }
  }
}